// 获取自定义头部信息的函数
const {statusBarHeight} = uni.getWindowInfo();
const {top,height} = uni.getMenuButtonBoundingClientRect();

export function getHeaderTop(){
	return statusBarHeight;
}

export function getHeaderHeight(){
	return (top-statusBarHeight)*2 + height;
}